package cn.edu.ujn.service;

import cn.edu.ujn.dao.BaseDict;
import cn.edu.ujn.dao.User;
import cn.edu.ujn.util.Page;

public interface IUserService {
	//按照账号密码进行查询
	public User findUser(String usercode,String password);
	//分页查找
	public Page<User> selectByCondintion(Integer currentPage, Integer pageSize, String keyWord);
	//删除用户
	public int deleteUser(Integer id);
	//通过id查找用户
	public User getUserById(Integer id);
	//更新用户
	public int updateUser(User user,String pwd);
	//创建用户
	public int creatUser(User user);
	
	public User getUserByUserCode(String user_code);
	
}
